Namespaces

Functions

void
alert(string $message)

Performs operations for adding content to log files using the alert severity level.

at line 17
string
asset(string $path, bool $local = false)

Retrieves publicly available asset.

at line 19
string
button(string $buttonText, array $inputAttrs = [])

No description

at line 28
string
buttonBlock(string $buttonText, array $inputAttrs = [], array $divAttrs = [])

No description

at line 59
string
checkboxGroup(string $name, array $options = [], array $selectedValues = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a group of checkboxes sharing one name (submitted as name[]), one wrapping div, and ONE error span. Label-right per box.

at line 204
string
checkboxLabelLeft(string $label, string $name, string $value = "", bool $checked = false, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Generates a div containing an input of type checkbox with the label to the left that is not part of a group.

at line 104
string
checkboxLabelRight(string $label, string $name, string $value = "", bool $checked = false, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Generates a div containing an input of type checkbox with the label to the right that is not part of a group.

at line 158
void
cl(mixed ...$vars)

Prints to console using JavaScript.

at line 35
string
color(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type color.

at line 253
mixed
config(string $key, mixed $default = null)

Get a configuration value.

at line 50
string
confirm(string $label, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type password confirm.

at line 301
void
console(string $message, string $level = Logger::INFO, string $background = ConsoleLogger::BG_GREEN, string $text = ConsoleLogger::TEXT_LIGHT_GREY)

Generates output messages for console commands.

at line 38
void
console_alert(string $message)

Generates an alert console message.

at line 55
void
console_critical(string $message)

Generates a critical console message.

at line 67
void
console_debug(string $message)

Generates a debug console message.

at line 79
void
console_emergency(string $message)

Generates an emergency console message.

at line 91
void
console_error(string $message)

Generates an error console message.

at line 103
void
console_info(string $message)

Generates an info console message.

at line 115
void
console_notice(string $message)

Generates a notice console message.

at line 127
void
console_warning(string $message)

Generates a warning console message.

at line 140
void
critical(string $message)

Performs operations for adding content to log files using the critical severity level.

at line 154
string
csrf()

Inserts csrf token into form.

at line 327
string
currency(string $label, string $name, string $intlNumberFormat = 'en-US', string $currency = "USD", mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type currency.

at line 362
string
dataListColor(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type color with an accompanying datalist of suggestions.

at line 419
string
dataListDate(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type date with an accompanying datalist of suggestions.

at line 477
string
dataListDateTimeLocal(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type datetime-local with an accompanying datalist of suggestions.

at line 534
string
dataListInterval(string $label, string $name, string $listName, int|float $min, int|float $max, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type range with an accompanying datalist of suggestions.

at line 597
string
dataListMonth(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type month with an accompanying datalist of suggestions.

at line 664
string
dataListText(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type text with an accompanying datalist of suggestions.

at line 722
string
dataListTime(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type time with an accompanying datalist of suggestions.

at line 779
string
dataListWeek(string $label, string $name, string $listName, mixed $value = '', array $options = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type week with an accompanying datalist of suggestions.

at line 838
string
dateSelector(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type dateSelector.

at line 903
string
dateTimeLocal(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type datetime-Local.

at line 952
void
dd(mixed ...$vars)

Performs var_dump of parameter and kills the page.

at line 63
void
debug(string $message)

Performs operations for adding content to log files using the debug severity level.

at line 168
void
dump(mixed ...$vars)

Dumps content but continues execution.

at line 79
string
e(string|null $value)

Escape a string for safe HTML output.

at line 99
string
email(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type email.

at line 1015
void
emergency(string $message)

Performs operations for adding content to log files using the emergency severity level.

at line 182
mixed
env(string $key, mixed $default = null)

Get an environment variable.

at line 112
void
error(string $message)

Performs operations for adding content to log files using the error severity level.

at line 196
string
errorBag(ArraySet $errors)

Returns list of errors. A wrapper for the FormHelper::displayErrors() function.

at line 981
string
fileSelector(string $label, string $name, array $inputAttrs = [], array $divAttrs = [], bool $multiple = false, array $errors = [])

Renders an HTML div element that surrounds an input of type file.

at line 1065
void
flashMessage(string $type, string $message)

Adds a session alert message.

at line 127
string
hidden(string $name, mixed $value)

Generates a hidden input element.

at line 1092
string
imageBlock(string $id, string $src, int $width, int $height, array $inputAttrs = [], array $divAttrs = [])

Renders an HTML div element that surrounds an input of type image.

at line 1164
string
imageButton(string $id, string $src, int $width, int $height, array $inputAttrs = [])

Create a input element of type image.

at line 1121
void
info(string $message)

Performs operations for adding content to log files using the info severity level.

at line 210
string
initTinyMCE(string $id)

Returns script for initializing tinyMCE.

at line 10
string
initVite(bool $isDev)

Initializes vite in head of layout.

at line 24
string
input(string $type, string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of forms input blocks in forms. It accepts parameters for setting attribute tags in the form section. Not to be used for inputs of type "Submit" For submit inputs use the submitBlock or submitTag functions.

at line 1205
string
interval(string $label, string $name, int|float $min, int|float $max, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type interval.

at line 1259
string
loadTinyMCE()

Returns scripts to load tinyMCE.

at line 55
string
month(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type month.

at line 1315
void
notice(string $message)

Performs operations for adding content to log files using the notice severity level.

at line 224
string
now(string|null $timezone = null, string|null $format = null, string|null $locale = null)

Get the current time as a formatted string using Carbon.

at line 151
string
number(string $label, string $name, mixed $value = '', array $config = [], array $inputAttrs = [], array $divAttrs = [], array $errors = [])

No description

at line 1401
string
output(string $name, string $for)

Generates an HTML output element.

at line 1436
string
password(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type password.

at line 1470
string
profileImageSort()

Loads scripts and styling for sorting of profile images.

at line 83
string
radio(string $label, string $name, string $value, bool $checked = false, array $inputAttrs = [])

Creates an input element of type radio with an accompanying label element. Compatible with radio button groups.

at line 1521
string
radioGroup(string $name, array $options = [], string|int|null $selectedValue = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a radio button group based on options provided.

at line 1566
void
redirect(string $location, array $params = [])

Performs redirect operations.

at line 164
string
rememberMe(string $label, bool $checked = false, array $inputAttrs = [], array $divAttrs = [])

Renders remember me checkbox.

at line 1610
string
resources()

Retrieves all resources needed for views to operate. This function is called in the head section of the view in the templates.

at line 68
string
route(string $path, array $params = [])

Route function for views that supports dot notation and array of parameters.

at line 178
string
select(string $label, string $name, string|int|null $value, array $options, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders a select element with a list of options.

at line 1706
string
submit(string $buttonText, array $inputAttrs = [])

Create a input element of type submit.

at line 1775
string
submitBlock(string $buttonText, array $inputAttrs = [], array $divAttrs = [])

Generates a div containing an input of type submit.

at line 1747
string
tel(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type tel.

at line 1808
string
text(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type text.

at line 1865
string
textarea(string $label, string $name, string|null $value, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of textarea in forms. It accepts parameters for setting attribute tags in the form section.

at line 1925
string
timeSelector(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type timeSelector.

at line 1973
string
urlInput(string $label, string $name, string|null $value, array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Assists in the development of url in forms. It accepts parameters for setting attribute tags in the form section.

at line 2023
string
vite(string $asset)

Generate the URL for a Vite-built asset.

at line 207
void
warning(string $message)

Performs operations for adding content to log files using the warning severity level.

at line 238
string
week(string $label, string $name, mixed $value = '', array $inputAttrs = [], array $divAttrs = [], array $errors = [])

Renders an HTML div element that surrounds an input of type week.

at line 2072